package cn.stylefeng.guns.modular.app.mapper;

import cn.stylefeng.guns.modular.app.entity.MovingPalletsmerge;
import cn.stylefeng.guns.modular.app.model.params.MovingPalletsmergeParam;
import cn.stylefeng.guns.modular.app.model.result.MovingPalletsmergeResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 移库和托 Mapper 接口
 */
public interface MovingPalletsmergeMapper extends BaseMapper<MovingPalletsmerge> {

    /**
     * 获取列表
     *
     * @author wz
     * @Date 2019-08-09
     */
    List<MovingPalletsmergeResult> customList(@Param("paramCondition") MovingPalletsmergeParam paramCondition);

    /**
     * 获取map列表
     *
     * @author wz
     * @Date 2019-08-09
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") MovingPalletsmergeParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author wz
     * @Date 2019-08-09
     */
    Page<MovingPalletsmergeResult> customPageList(@Param("page") Page page, @Param("paramCondition") MovingPalletsmergeParam paramCondition, @Param("condition") String condition, @Param("operateId")Long operateId);

    /**
     * 获取分页map列表
     *
     * @author wz
     * @Date 2019-08-09
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") MovingPalletsmergeParam paramCondition);

}
